package patrol.mobile.com.mobilepatrol.activity.security.emergency;

import android.view.View;

import patrol.mobile.com.mobilepatrol.R;
import patrol.mobile.com.mobilepatrol.activity.BaseActivity;
import patrol.mobile.com.mobilepatrol.activity.security.ConsTitles;
import patrol.mobile.com.mobilepatrol.utils.CommonUtil;

/**
 * Created by fuzhen.li on 2018/9/18.
 */
public class Emergency2Activity extends BaseActivity {
    @Override
    protected int attachLayoutRes() {
        return R.layout.activity_emergency2;
    }

    @Override
    public void setListener() {

    }

    @Override
    public void initTitle() {
        iv_back.setImageResource(R.mipmap.up_white);
        iv_back.setVisibility(View.VISIBLE);
        iv_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                CommonUtil.exitActivityAndBackAnim(Emergency2Activity.this,true);
            }
        });
        tv_center_title.setVisibility(View.VISIBLE);
        tv_center_title.setText(ConsTitles.EMERGENCY_2);
    }

}
